@layout("/common/_container.html",{js:["/assets/manager/archiveInfo/info.js","/assets/manager/archiveInfo/files.js","/assets/manager/archiveInfo/archive.js","/assets/manager/archiveInfo/archiveInfo_batAdd.js"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title">批量录入</span>
</div>

<div class="layui-fluid">

    <div class="layui-card">
        <h2 class="layui-card-header layui-row"><span class="layui-col-md6">档案公共信息</span><button class="layui-btn layui-btn-sm layui-col-md-offset5" type="button" id="backupPage"></i>返回</button></h2>
        <div class="layui-card-body">
            <form id="archiveForm" lay-filter="archiveForm"
                  class="layui-form layui-form-pane" style="max-width:900px;margin: 20px auto;">
                <div class="layui-form-item layui-row layui-col-space18">

                    <div class="layui-inline layui-col-md6">
                        <label class="layui-form-label">所属部门<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <#tree name="ssbmid"
                            url="/archiveDic/commonTree?table=sys_dept&id=dept_id&parentId=pid&startId=0&text=full_name"/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md6">
                        <label class="layui-form-label">所属人<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="ssrrmc" name="ssrrmc" placeholder="请输入所属人名称" type="text"
                                   class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>

                    <div class="layui-inline layui-col-md6">
                        <label class="layui-form-label">档案类型<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <#tree name="dalx" url="/archiveDic/listTypeDict"/>
                        </div>
                    </div>

                    <div class="layui-inline layui-col-md6">
                        <label class="layui-form-label">年度<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <#dic name="nd" dic="ARCHIVE_YEAR"/>
                        </div>
                    </div>

                    <div class="layui-inline layui-col-md6">
                        <label class="layui-form-label">密级<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <#dic name="mj" dic="SECRETS_LEVEL"/>
                        </div>
                    </div>

                    <div class="layui-inline layui-col-md6">
                        <label class="layui-form-label">管理年限<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <#dic name="glnx" dic="LIMIT_YEAR"/>
                        </div>
                    </div>


                    <div class="layui-inline layui-col-md6">
                        <label class="layui-form-label">起始年度<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <#dic name="qsnd" dic="ARCHIVE_YEAR"/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md6">
                        <label class="layui-form-label">结束年度<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <#dic name="jsnd" dic="ARCHIVE_YEAR"/>
                        </div>
                    </div>
                </div>
            </form>
        </div>
    </div>

    <div class="layui-card">
        <h2 class="layui-card-header">档案信息录入</h2>
        <div class="layui-card-body">
            <table class="layui-table" id="archive" lay-filter="archive"></table>
        </div>
    </div>

    <div class="layui-card">
        <h2 class="layui-card-header">所属档案资料录入</h2>
        <div class="layui-card-body layui-row layui-col-space10">
            <div class="layui-col-md7 layui-col-lg7">
                <table class="layui-table" id="info" lay-filter="info"></table>
            </div>

            <div class="layui-col-md5 layui-col-lg5">
                <table class="layui-table" id="file" lay-filter="file"></table>
            </div>
        </div>
    </div>
</div>


<script type="text/html" id="toolbar">
    <div class="layui-btn-container">
        <button class="layui-btn layui-btn-xs" lay-event="add">新增</button>
    </div>
</script>

<script type="text/html" id="tableBar">
    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="edit">修改</a>
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">删除</a>
</script>

<#dic_templet id="dalx" dic="ARCHIVE_TYPE" value="d.dalx"/>
<#dic_templet id="sfyx" dic="YESNO" value="d.sfyx"/>
<#dic_templet id="ly" dic="ARCHIVE_SOURCE" value="d.ly"/>
<#dic_templet id="mj" dic="SECRETS_LEVEL" value="d.mj"/>
@}